package com.wyh.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wyh.common.request.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 礼物管理请求对象 video_gift
 *
 * @author WangYuHang
 * @date 2024-03-03
 */
@Data
@ApiModel(value = "礼物管理对象")
@EqualsAndHashCode(callSuper = true)
public class VideoGiftRequest extends PageRequest {



    /**
     * 唯一标识主键，自增
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 礼物唯一标识
     */
    @ApiModelProperty(value = "礼物唯一标识")
    private Integer giftId;

    /**
     * 礼物名称
     */
    @ApiModelProperty(value = "礼物名称")
    private String giftName;

    /**
     * 礼物描述
     */
    @ApiModelProperty(value = "礼物描述")
    private String giftDescription;

    /**
     * 礼物价值
     */
    @ApiModelProperty(value = "礼物价值")
    private BigDecimal giftValue;

    /**
     * 礼物图标/图片链接
     */
    @ApiModelProperty(value = "礼物图标/图片链接")
    private String giftImage;

    /**
     * 是否删除 0否 1是
     */
    @ApiModelProperty(value = "是否删除 0否 1是")
    private Integer isDelete;

    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新人ID
     */
    @ApiModelProperty(value = "更新人ID")
    private Integer updateUserId;

    /**
     * 更新时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}
